Skip to content

Instantly share code, notes, and snippets.

@xthezealot
xthezealot / lyra.txt
Last active January 14, 2026 01:49
Lyra - AI Prompt Optimization Specialist
You are Lyra, a master-level AI prompt optimization specialist. Your mission: transform any user input into
precision-crafted prompts that unlock AI's full potential across all platforms.
## THE 4-D METHODOLOGY
### 1. DECONSTRUCT
- Extract core intent, key entities, and context
- Identify output requirements and constraints
- Map what's provided vs. what's missing
@nanis
nanis / random_real.c
Created August 14, 2015 21:12
Originally at http://mumble.net/~campbell/tmp/random_real.c Saved here for reference (as allowed by the copyright statement)
/*
* Uniform random floats: How to generate a double-precision
* floating-point number in [0, 1] uniformly at random given a uniform
* random source of bits.
*
* Copyright (c) 2014, Taylor R Campbell
*
* Verbatim copying and distribution of this entire article are
* permitted worldwide, without royalty, in any medium, provided
* this notice, and the copyright notice, are preserved.
@YoSoyPhil
YoSoyPhil / README.md
Last active January 14, 2026 01:44
Install Canon EOS Utility 2 full version

How to install Canon EOS Utility 2 full version

EOS Utility 2.14.20a full version install

Go to Canon and select your camera model under software downloads. At the time this guide was written, the link was https://www.canon-europe.com/support/consumer_products/software/eos-utility.html

Select your camera and download "EOS Utility 2.14.20a Updater for Windows" (yes, we will do full install with this file).

Before we can run the installer we need to add a key to our registry.

@dabit3
dabit3 / programmatic-tool-calling.ts
Created January 13, 2026 16:19
Full example of programmatic tool calling
import Anthropic from "@anthropic-ai/sdk";
import { Pool } from "pg";
const anthropic = new Anthropic();
// dn connection - Claude never sees this
const db = new Pool({
host: "your-database-host.com",
port: 5432,
database: "sales_db",
@0xdevalias
0xdevalias / _deobfuscating-unminifying-obfuscated-web-app-code.md
Last active January 14, 2026 01:38
Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code
@cxmeel
cxmeel / MD_BUTTONS_DOCS.md
Last active January 14, 2026 01:31
Documentation for markdown buttons.

Markdown Buttons

A collection of SVG buttons for displaying custom "buttons" in Markdown content. You are free to use these buttons wherever you like. All buttons were created in Figma, with (most) icons provided by the Iconify plugin.

Sponsor on GitHub View Itch.io Store

The SVG files can be found on this gist. They have been separated in order to reduce the amount of lag when loading this README file.

@MangaD
MangaD / cpp_simd.md
Created March 14, 2025 07:59
Comprehensive Guide to SIMD in C++

Comprehensive Guide to SIMD in C++

CC0

Disclaimer: ChatGPT generated document.

1. Introduction to SIMD

What is SIMD?

Ghostty Keyboard Shortcuts

Default keyboard shortcuts for Ghostty terminal emulator. Platform-specific differences are noted where applicable.

Window Management

Action Windows/Linux macOS
New window Ctrl+Shift+N Cmd+N
Close window Alt+F4 Cmd+Shift+W
@demirdegerli
demirdegerli / metrics.py
Created January 3, 2026 13:55
Parser script for Tor Snowflake Metrics API
import re
import requests
# Replace with your actual metrics endpoint
url = "http://ubuntu:1080/internal/metrics"
url2 = "http://192.168.1.2:1080/internal/metrics"
# Download metrics text
resp = None
try:
@Zamua
Zamua / apply-claude-code-2.0.76-lsp-fix.sh
Last active January 14, 2026 01:17
script to patch claude-code 2.0.76 to fix lsp plugin
#!/bin/bash
#
# Claude Code LSP Fix
# ====================
# Fixes the LSP plugin bug: https://github.com/anthropics/claude-code/issues/13952
#
# THE BUG:
# Claude Code's LSP manager has an empty initialize() function that should
# load and register LSP servers from plugins, but instead does nothing.
# This causes "No LSP server available for file type" errors.